package admin.common.domain.rsp;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * @author zgb
 * @date 2024-02-28 18:34
 * @description TODO
 */

@Schema(description = "用户令牌 响应对象")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserAccessTokenRsp implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;


    @Schema(description = "access_token")
    @JsonProperty("access_token")
    private String accessToken;


    @Schema(description = "refresh_token")
    @JsonProperty("refresh_token")
    private String refreshToken;


    @Schema(description = "token_type")
    @JsonProperty("token_type")
    private String tokenType;


    @Schema(description = "expires_in")
    @JsonProperty("expires_in")
    private Integer expiresIn;

    @Schema(description = "refresh_expires_in")
    @JsonProperty("refresh_expires_in")
    private Integer refreshExpiresIn;

    @Schema(description = "scope")
    private String scope;



}
